package ui.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.fy.fyzf.R;
import com.fy.fyzf.bean.SignContractListBean;

import java.util.List;

public class SignContractAdapter extends BaseQuickAdapter<SignContractListBean.ListBean, BaseViewHolder> {

    public SignContractAdapter() {
        super(R.layout.item_with_glasses);
    }

    @Override
    protected void convert(BaseViewHolder helper, SignContractListBean.ListBean item) {
        helper.setText(R.id.tv_name, "客户姓名: " + item.getCustomerName())
                .setText(R.id.tv_number, "房源编号: " + item.getHousingNo())
                .setText(R.id.tv_create_time,"创建时间: " +item.getCreateTime());

    }
}
